package main

import (
	"fmt"
	// "zhiliao_seckill_srv/utils"

	"github.com/garyburd/redigo/redis"
	//"zhiliao_seckill_srv/utils"
)

func main() {

	conn,err := redis.Dial("tcp","127.0.0.1:6379")
		if err != nil {
				fmt.Println("连接出错")
			}
		uemail:="email30@example.com"
		fmt.Println("a",uemail,"a")
		ret,err_r := redis.String(conn.Do("GET",uemail))
		// ret,err_r := redis.String(conn.Do("get","email24@example.com"))
		fmt.Println("redis get ",ret,err_r)
	

}
